package com.maybach.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/")
public class HelloController {
    
    @RequestMapping("ok")
    @ResponseBody
    public String check() {
        return "200";
    }

    @RequestMapping("index")
    @ResponseBody
    public String index() {
        return "卖好车";
    }
}